//
//  WallpaperModifierTest.m
//  WeatherDesktop
//
//  Created by Justin Dell on 10/28/08.
//  Copyright 2008 . All rights reserved.
//

#import "WallpaperModifierTest.h"


static NSString *testZip = @"99999";

@implementation WallpaperModifierTest

- (void) setUp {
    wpMod = [[WallpaperModifier alloc] initWithZip:testZip];
}

- (void) tearDown {
    [wpMod release];
}

- (void) testSetWallpaper {
    printf("Testing setting wallpaper\n");
    STAssertEquals([wpMod setWallpaper:nil], 0, @"Could not set wallpaper");
    [wpMod setZipCode:@"00000"];
    STAssertEquals([wpMod getZipCode], @"00000", @"Could not change zip code: 00000 != %@", [wpMod getZipCode]);
}

@end
